package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcOldManTypeIetype;
import com.csun.cmny.provider.model.domain.OmcUserType;
import com.csun.cmny.provider.vo.OmcOldManTypeIetypeVo;

import java.util.List;

/**
 * @author chenzheng
 * @description:
 * @date 2019/8/12 14:22
 */
public interface OmcOldManTypeIetypeService extends IService<OmcOldManTypeIetype> {
    /**
     * 批量保存或者更新人员类别减免
     *
     * @param list
     * @param loginAuthDto
     * @return
     */
    int batchSaveOmcOldManTypeIetype(List<OmcOldManTypeIetype> list, LoginAuthDto loginAuthDto);

    /**
     * 查询人员类别减免列表
     *
     * @param list
     * @return
     */
    List<OmcOldManTypeIetypeVo> queryOldManTypeIetypeList(List<OmcUserType> list);


    /**
     * 根据组织机构ID,查询已配置减免比例的人员类别ID
     * @param groupId
     * @return
     */
    List<Long> selectUserTypeId(Long groupId);
}
